package com.gk.panda.apis.entity.eventtodo.dto;

import com.gk.panda.apis.entity.eventtodo.vo.EventResourcesVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @ClassName: HandelEventDto
 * @Description: APP处理事件
 * @author: Sir.yang
 * @date: 2022/11/3 23:32
 * @version: 1.0
 **/
@Data
@ApiModel("APP处理事件")
public class HandelEventDto {

    @ApiModelProperty("事件ID")
    @NotNull(message = "事件ID不能为空")
    private Integer eventId;

    @ApiModelProperty("文字描述")
    private String textDescription;

    @ApiModelProperty("用户账号")
    @NotNull(message = "用户账号不能为空")
    private String fkRecipient;

    @ApiModelProperty("用户名称")
    @NotBlank(message = "用户名称不能为空")
    private String recipientName;

    @ApiModelProperty("图片/视频")
    private List<EventResourcesByAppDto> resourceAddress;
}
